{% extends "basis.html" %}


{% block content %}
<h3>{{ trip_edit_title }}</h3>
<div class="addtrip">

<p>
<form action="/trips/{{action_suffix}}" method="POST">{% csrf_token %}
{% for field in trip_form %}
{{field.label_tag}} {{ field }}<br/>
{% endfor %}
<input type="submit" value="Save trip">
</form>
</p>

</div>

{% endblock %}
